<?php

namespace app\components;

use Yii;
use yii\base\Behavior;
use yii\web\View;
use app\models\SamplePosition;

class WarningBehavior extends Behavior
{
    public function events()
    {
		SamplePosition::checkEnough(1);
		SamplePosition::checkEnough(2);
      	return [];
    }
}

?>